package grsu.epam.airline.DAO;

import grsu.epam.airline.model.AirportInRoute;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface IAirportInRouteDAO {
	public List<AirportInRoute> getAirportsByFlightId(int flightId)
			throws SQLException;

	public int getQueue(int flightId) throws SQLException;

	public void addAirportInRoute(int flightId, int airportId) throws SQLException;

	public Connection getConnection();

	public void deleteAirportInRoute(int airportInRouteId) throws SQLException;
}
